package com.pctx.bibadevicemanager.dao;

import com.pctx.bibadevicemanager.pojo.UserDeviceRole;
import com.pctx.bibadevicemanager.pojo.UserDeviceRoleExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDeviceRoleMapper {
    int countByExample(UserDeviceRoleExample example);

    int deleteByExample(UserDeviceRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserDeviceRole record);

    int insertSelective(UserDeviceRole record);

    List<UserDeviceRole> selectByExample(UserDeviceRoleExample example);

    UserDeviceRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserDeviceRole record, @Param("example") UserDeviceRoleExample example);

    int updateByExample(@Param("record") UserDeviceRole record, @Param("example") UserDeviceRoleExample example);

    int updateByPrimaryKeySelective(UserDeviceRole record);

    int updateByPrimaryKey(UserDeviceRole record);

    int insertUserDeviceRoles(List<UserDeviceRole> list);
}